
package com.sm.shoplook.service.suit;

import com.sm.shoplook.domain.suit.SuitScanRecord;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.suit.front.resp.ApiSuitReqVo;

import java.util.List;

/**
 * @author chenpy
 * @desc 套装浏览收藏
 * @date 2018/8/21 16:54
 * @see
 */
public interface ApiSuitScanRecordService {

	ApiResult<Integer> updateSuit(ApiSuitReqVo suitReqVo) throws ApiException;

    /**
     * @Author chenpy
     * @Date 2018/8/29 13:54
     * @Description 我的收藏
     * @param cutomerId
     * @return
     */
	ApiResult<List<SuitScanRecord>> selectSuitScanRecordByCustomrId(Integer cutomerId);

    /**
     * @Author chenpy
     * @Date 2018/8/29 13:53
     * @Description 是否收藏过套装
     * @param customerId 会员ID
     * @param suitId 套装ID
     * @return
     */
	ApiResult<Integer> getCollectSuitCond(Integer customerId, Integer suitId);

    /**
     * 取消收藏
     * @param suitId 套装ID
     * @param customerId 会员ID
     */
    ApiResult removeCollect(Integer suitId, Integer customerId) throws ApiException;
}
